"""
35 - Dars. Xatolar bilan ishlash.
"""
print('Hello')
print(100 / 0)
print(1 + '2')
print(int('test'))

try:
    NUM = 100 / 0
except ZeroDivisionError:
    NUMM = 0
except TypeError:
    NUMMM = 1

try:
    NNUM = 100 / 2
except Exception:
    NUUM = 0
else:
    print('Else')
finally:
    print('Finally')

print(NUUM)
print('Hi')

while True:
    try:
        NUUMM = int(input('Enter your number: '))
        print(f'100 / {NUUMM} = {100 / NUUMM}')
        break
    except ZeroDivisionError:
        print('The number must be greater than zero')
    except ValueError:
        print('Must be a number')

while True:
    try:
        NUMBER = int(input('Enter your number: '))
        print('The number must be greater than zero')f'100 / {NUMBER} = {100 / NUMBER}')
        break
    except Exception:
        print('The number must be greater than zero')
